package com.hecn.pojo;

        import org.springframework.beans.factory.annotation.Value;
        import org.springframework.context.annotation.Scope;
        import org.springframework.stereotype.Component;
        import org.springframework.stereotype.Controller;
        import org.springframework.stereotype.Repository;
        import org.springframework.stereotype.Service;
/**
 * <context:component-scan base-package="com.hecn.pojo"/> <context:annotation-config/>
 *
 * <p><bean id="user" class="com.hecn.pojo.User"> <property name="name" value="\(@^0^@)/"/> </bean>
 */

/** @author 24497 */
@Component // 等价于<bean id="user" class="com.hecn.pojo.User"/>
@Scope("singleton")
public class User {
  /** 相当于<property name="name" value="\(@^0^@)/"/> */
  @Value("\\(@^0^@)/")
  public String name;
}
